import java.util.Arrays;
import java.util.Scanner;

public class test {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int [] score = new int[6];
        for (int i = 0; i < 6; i++) {
            score[i] = sc.nextInt();
        }
        Arrays.sort(score);

    }
}
